package com.lengxf.pay.icbc.bean.refundQuery;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.lengxf.pay.common.bean.RefundOrderQuery;
import lombok.Data;

@Data
public class RefundQueryReq {

    @JsonProperty("mer_id")
    private String merId;

    @JsonProperty("out_trade_no")
    private String outTradeNo;

    @JsonProperty("reject_no")
    private String rejectNo;

    public RefundQueryReq(RefundOrderQuery refundOrderQuery, String merId) {
        this.merId = merId;
        this.outTradeNo = refundOrderQuery.getOrderNo();
        this.rejectNo = refundOrderQuery.getRefundOrderNo();
    }

}
